package com.yuhs.zixing.study.design.pattern.dp002.structural.s003.decorator.d002;

/**
 * @description:
 * @author: yuhs
 * @date: 2022/5/1 9:23 PM
 */
public class FouthGradeSchoolReport002 extends SchoolReport002 {
    //我的成绩单
    public void report() {
        //成绩单的格式是这个样子的
        System.out.println("尊敬的XXX家长:");
        System.out.println("  ......");
        System.out.println(" 语文 62 数学65 体育 98 自然 63");
        System.out.println("  .......");
        System.out.println("家长签名：");
    }

    //家长签名
    public void sign(String name) {
        System.out.println("家长签名 " + name);
    }
}
